package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 龙虎榜用户信息
 */
@ApiModel(description = "龙虎榜用户信息")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class WinnersList   {
  @JsonProperty("ryid")
  private Integer ryid = null;

  @JsonProperty("headPhoto")
  private String headPhoto = null;

  @JsonProperty("ranking")
  private Integer ranking = null;

  @JsonProperty("name")
  private String name = null;

  @JsonProperty("department")
  private String department = null;

  @JsonProperty("reportCard")
  private String reportCard = null;

  @JsonProperty("likeNum")
  private Integer likeNum = null;

  @JsonProperty("isClick")
  private Boolean isClick = null;

  public WinnersList ryid(Integer ryid) {
    this.ryid = ryid;
    return this;
  }

  /**
   * 人员id
   * @return ryid
  **/
  @ApiModelProperty(example = "122066", value = "人员id")


  public Integer getRyid() {
    return ryid;
  }

  public void setRyid(Integer ryid) {
    this.ryid = ryid;
  }

  public WinnersList headPhoto(String headPhoto) {
    this.headPhoto = headPhoto;
    return this;
  }

  /**
   * 用户头像
   * @return headPhoto
  **/
  @ApiModelProperty(example = "http://photo.1231", value = "用户头像")


  public String getHeadPhoto() {
    return headPhoto;
  }

  public void setHeadPhoto(String headPhoto) {
    this.headPhoto = headPhoto;
  }

  public WinnersList ranking(Integer ranking) {
    this.ranking = ranking;
    return this;
  }

  /**
   * 名次
   * @return ranking
  **/
  @ApiModelProperty(example = "1", value = "名次")


  public Integer getRanking() {
    return ranking;
  }

  public void setRanking(Integer ranking) {
    this.ranking = ranking;
  }

  public WinnersList name(String name) {
    this.name = name;
    return this;
  }

  /**
   * 用户姓名
   * @return name
  **/
  @ApiModelProperty(example = "张三", value = "用户姓名")


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public WinnersList department(String department) {
    this.department = department;
    return this;
  }

  /**
   * 所属营业部
   * @return department
  **/
  @ApiModelProperty(example = "深圳深南大道证券营业部", value = "所属营业部")


  public String getDepartment() {
    return department;
  }

  public void setDepartment(String department) {
    this.department = department;
  }

  public WinnersList reportCard(String reportCard) {
    this.reportCard = reportCard;
    return this;
  }

  /**
   * 排名成绩单
   * @return reportCard
  **/
  @ApiModelProperty(example = "100w", value = "排名成绩单")


  public String getReportCard() {
    return reportCard;
  }

  public void setReportCard(String reportCard) {
    this.reportCard = reportCard;
  }

  public WinnersList likeNum(Integer likeNum) {
    this.likeNum = likeNum;
    return this;
  }

  /**
   * 点赞数
   * @return likeNum
  **/
  @ApiModelProperty(example = "1", value = "点赞数")


  public Integer getLikeNum() {
    return likeNum;
  }

  public void setLikeNum(Integer likeNum) {
    this.likeNum = likeNum;
  }

  public WinnersList isClick(Boolean isClick) {
    this.isClick = isClick;
    return this;
  }

  /**
   * 是否被该用户点赞过
   * @return isClick
  **/
  @ApiModelProperty(example = "true", value = "是否被该用户点赞过")


  public Boolean isIsClick() {
    return isClick;
  }

  public void setIsClick(Boolean isClick) {
    this.isClick = isClick;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    WinnersList winnersList = (WinnersList) o;
    return Objects.equals(this.ryid, winnersList.ryid) &&
        Objects.equals(this.headPhoto, winnersList.headPhoto) &&
        Objects.equals(this.ranking, winnersList.ranking) &&
        Objects.equals(this.name, winnersList.name) &&
        Objects.equals(this.department, winnersList.department) &&
        Objects.equals(this.reportCard, winnersList.reportCard) &&
        Objects.equals(this.likeNum, winnersList.likeNum) &&
        Objects.equals(this.isClick, winnersList.isClick);
  }

  @Override
  public int hashCode() {
    return Objects.hash(ryid, headPhoto, ranking, name, department, reportCard, likeNum, isClick);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class WinnersList {\n");
    
    sb.append("    ryid: ").append(toIndentedString(ryid)).append("\n");
    sb.append("    headPhoto: ").append(toIndentedString(headPhoto)).append("\n");
    sb.append("    ranking: ").append(toIndentedString(ranking)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    department: ").append(toIndentedString(department)).append("\n");
    sb.append("    reportCard: ").append(toIndentedString(reportCard)).append("\n");
    sb.append("    likeNum: ").append(toIndentedString(likeNum)).append("\n");
    sb.append("    isClick: ").append(toIndentedString(isClick)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

